import FlowDefine from '@/pages/flow/define/index.vue'
import FlowTmpl from '@/pages/flow/tmpl/index.vue'
import FlowDeploy from '@/pages/flow/deploy/index.vue'
import FlowInstance from '@/pages/flow/instance/index.vue'
import FlowTask from '@/pages/flow/task/index.vue'
import FlowDiagram from '@/pages/flow/diagram/index.vue'
import FlowFormTmpl from '@/pages/flow/form/tmpl/index.vue'

import HisFlowInstance from '@/pages/flow/history/instance/index.vue'

export default [
  {
    path: '/flow/tmpl',
    name: 'FlowTmpl',
    meta: {
      title: '流程模板',
      icon: 'dashboard',
      noCache: true,
      affix: true
    },
    component: FlowTmpl
  },
  {
    path: '/flow/form/tmpl',
    name: 'FlowFormTmpl',
    meta: {
      title: '表单管理',
      icon: 'dashboard',
      noCache: true,
      affix: true
    },
    component: FlowFormTmpl
  },
  {
    path: '/flow/deploy',
    name: 'FlowDeploy',
    meta: {
      title: '流程发布',
      icon: 'dashboard',
      noCache: true,
      affix: true
    },
    component: FlowDeploy
  },
  {
    path: '/flow/define',
    name: 'FlowDefine',
    meta: {
      title: '启动流程',
      icon: 'dashboard',
      noCache: true,
      affix: true
    },
    component: FlowDefine
  },
  {
    path: '/flow/instance',
    name: 'FlowInstance',
    meta: {
      title: '流程实例',
      icon: 'dashboard',
      noCache: true,
      affix: true
    },
    component: FlowInstance
  },
  {
    path: '/flow/his/instance',
    name: 'HisFlowInstance',
    meta: {
      title: '已办任务',
      icon: 'dashboard',
      noCache: true,
      affix: true
    },
    component: HisFlowInstance
  },
  {
    path: '/flow/task',
    name: 'FlowTask',
    meta: {
      title: '待办任务',
      icon: 'dashboard',
      noCache: true,
      affix: true
    },
    component: FlowTask
  },
  {
    path: '/flow/diagram',
    name: 'FlowDiagram',
    meta: {
      title: '流程任务',
      icon: 'dashboard',
      noCache: true,
      affix: true
    },
    component: FlowDiagram
  },
  
  
]
